﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;

namespace Less2DB.CodeGenerator
{
    static class Resources
    {
        private static Assembly assembly;
        private static string nameSpace;

        static Resources()
        {
            assembly = Assembly.GetExecutingAssembly();
            nameSpace = typeof(Resources).Namespace;
        }

        public static Stream GetProjectItems()
        {
            return assembly.GetManifestResourceStream(nameSpace + ".ProjectItems.xml");
        }
    }
}
